Python 3.8.6rc1 (tags/v3.8.6rc1:08bd63d, Sep  7 2020, 23:10:23) [MSC v.1927 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license()" for more information.
>>> "{} is {}".format("laoyou","teacher")
'laoyou is teacher'
>>> "{0} is {1}".format("laoyou","teacher")
'laoyou is teacher'
>>> "{1} is {0}".format("laoyou","teacher")
'teacher is laoyou'
>>> "{2} 在 {1} 跟着 {0} 学习".format("panglaoshi","jinan university","laoyou")
'laoyou 在 jinan university 跟着 panglaoshi 学习'
>>> "s% is %s"%("laoyou","teacher")
Traceback (most recent call last):
  File "<pyshell#4>", line 1, in <module>
    "s% is %s"%("laoyou","teacher")
TypeError: %i format: a number is required, not str
>>> "%s is %s"%("laoyou","teacher")
'laoyou is teacher'
>>> 